package sale.wxb.loveshopping.enums;

/**
 * 登录类型
 */
public enum LoginModeEnum implements BaseEnum {
    ACCOUNT_PASSWORD(1000, "账号登录"),
    WECHAT_PC(1010, "微信PC登录"),
    PHONE_SMS(1020, "手机短信登录"),
    EMAIL(1030, "邮箱登录"),
    QRCODE(1040, "扫码登录")
    ;
    private final int code;
    private final String message;

    LoginModeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
